<script type="text/javascript">
var <?= $this->jsObject ?> = {
	selectRow: function(rowid) {
		var url = "<?= $this->redirectUrl ?>";
		var q = <?= $this->redirectParams ?>;
		q.nodeid = rowid;
		q = $.param(q);
		location.href = url + '?' + q;
	},
	selectSingleRow: function() {
		var id = $("#<?= $this->grid->tableId ?>").jqGrid('getGridParam','selrow');
		<?= $this->jsObject ?>.selectRow(id);
	},
	selectMultiRows: function() {
		var url = "<?= $this->redirectUrl ?>";
		var q = <?= $this->redirectParams ?>;
		q.nodeid = $("#<?= $this->grid->tableId ?>").jqGrid('getGridParam','selarrrow');
		q = $.param(q);
		location.href = url + '?' + q;
	}
};
</script>
<?= $this->grid ?>